﻿using System.Linq;
using TSharp.Core.Util;
using System.Text;
using System.IO;
using System.Web;
using TSharp.Core;
using TSharp.Core.Repository;
[assembly: PreApplicationStartMethod(typeof(PreApplicationStart), "Start")]
namespace TSharp.Core.Repository
{
    /// <summary>
    /// 
    /// </summary>
    /// <author>
    /// tangjingbo
    /// </author>
    /// <remarks>
    /// tangj15 at 2012-5-4 13:12
    /// </remarks>
    public class PreApplicationStart
    {
        /// <summary>
        /// Starts this instance.
        /// </summary>
        public static void Start()
        {
            Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule(typeof(DatabaseRepositoryHttpModule));
        }
    }
}
